/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-06-27     xingwenbo       the first version
 */
#ifndef SRC_DRV_HWTIMER_H_
#define SRC_DRV_HWTIMER_H_

#include <rtthread.h>
#include <rtdevice.h>
#include <rthw.h>
#include <drv_common.h>
#include <drv_config.h>
#include <hal_data.h>


struct ra_hwtimer
{
    struct rt_hwtimer_device        time_device;
    gpt_instance_ctrl_t             *g_ctrl;
    timer_instance_t const *const   g_timer;
    timer_cfg_t const *const        g_cfg;
    char                            *name;
};

#endif /* LIBRARIES_HAL_DRIVERS_DRV_HWTIMER_H_ */
